<?PHP $this->_extends('_layouts/manager_layout');?>
<?PHP $this->_block('contents');?>
<style>
.pa{float:left; width:500px}
.po{float:left; width:120px}
</style>
<h2 class="aa1">  店铺设置  </h2>
<form action="" method="post">
	
	<div>名 :<input name="config_key" value="<?=$m->config_key?>" size="20"/></div>
	<div>value : 
		<?php switch($m->p->type){
			case 'text':?>
				<textarea name="value" rows="5" cols="60"><?=$m->value?></textarea>
			<?php break;
			case '':
			default: ?>
				<input type="text" name="value" value="<?=$m->value?>" size="40" />
			<?php break;
			}
		?>
	</div>
	<div>描述:  <?=$m->p->desc?> </div>
	<div> <input type="submit" value="修改"  /> </div>
	
	<input type="hidden" name="id" value="<?=$m->id?>"  />
</form>

<br>
<div>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="<?php echo url('/configs')?>" classs="anniu">返回</a>
</div>
<br><br>


<?PHP $this->_endblock();?>

